package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 检验申请-条码打印完成数据
 * </p>
 *
 * @author zqb
 * @date 2024-08-02 16:04:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "检验申请-条码打印完成数据")
public class BHl7LisBarUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 病人识别号
     */
    @Schema(description = "病人识别号")
    @NotEmpty(message = "请填写病人识别号")
    @Size(max = 64, message = "病人识别号长度不能超过{max}")
    private String patientIdent;
    /**
     * 病人住院号
     */
    @Schema(description = "病人住院号")
    @NotEmpty(message = "请填写病人住院号")
    @Size(max = 64, message = "病人住院号长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 打印条码和检验报告的打印条码对应
     */
    @Schema(description = "打印条码和检验报告的打印条码对应")
    @NotEmpty(message = "请填写打印条码和检验报告的打印条码对应")
    @Size(max = 64, message = "打印条码和检验报告的打印条码对应长度不能超过{max}")
    private String barCode;
    /**
     * 检验单名称
     */
    @Schema(description = "检验单名称")
    @NotEmpty(message = "请填写检验单名称")
    @Size(max = 64, message = "检验单名称长度不能超过{max}")
    private String lisOrderName;
    /**
     * 打印时间
     */
    @Schema(description = "打印时间")
    @NotNull(message = "请填写打印时间")
    private LocalDateTime barTime;
    /**
     * 申请单id和检验申请的申请id对应
     */
    @Schema(description = "申请单id和检验申请的申请id对应")
    @NotEmpty(message = "请填写申请单id和检验申请的申请id对应")
    @Size(max = 64, message = "申请单id和检验申请的申请id对应长度不能超过{max}")
    private String applyId;
    /**
     * 是否取消
     */
    @Schema(description = "是否取消")
    @NotNull(message = "请填写是否取消")
    private Integer isCancel;
    /**
     * 
     */
    @Schema(description = "")
    private LocalDateTime reportTime;


}
